//
//  UserModel.h
//  BasicFramework
//
//  Created by 利君 on 2017/6/13.
//  Copyright © 2017年 LiJun All rights reserved.
//

#import <Foundation/Foundation.h>
@class LeverModel;
@interface UserModel : NSObject<MJKeyValue>
/** 用户信息 */
+ (instancetype)sharedUserInfo;
/** 设置用户信息 */
+ (void)setUserInfoModelWithTokenDict:(NSDictionary *)dict;
+ (void)setUserInfoModelWithDict:(NSDictionary *)dict;
+ (void)resetModel:(UserModel *)model;
/// 1=已经设置支付密码；2=未设置支付密码
@property (nonatomic,copy)NSString *head_img;
@property (nonatomic,copy)NSString *username;
@property (nonatomic,copy)NSString *phone;
@property (nonatomic,copy)NSString *created_at;

@property (nonatomic,copy) NSString *token;/** <#class#> **/
@property (nonatomic,assign) NSInteger is_nb;/**  1是内部会员 2是普通会员 **/
@property (nonatomic,copy)NSString *zed_money;// 总信用额度
@property (nonatomic,copy)NSString *shiyed_money;// 已使用信用额度
@property (nonatomic,copy)NSString *shengyed_money;// 剩余信用额度
@property (nonatomic,assign) NSInteger member_status;/** // 会员状态 1是正常 2是冻结 **/
@property (nonatomic,strong) NSDictionary *level;/** <#class#> **/
@end
@interface LeverModel : NSObject
@property (nonatomic,copy)NSString *level_name;
@property (nonatomic,copy)NSString *ID;
@property (nonatomic,copy)NSString *level_image;
@property (nonatomic,copy)NSString *level_score;
@property (nonatomic,copy)NSString *credit_money;

@end
